package {
	import com.ultizen.farm.core.InjectPreloaderView;
	import com.ultizen.farm.core.PreloaderView;
	
	import flash.display.Sprite;
	[SWF(backgroundColor="#FFFFFF", width="760", height="620", frameRate="30")]
    [Frame(factoryClass="Preloader")]
	public class Main extends Sprite implements InjectPreloaderView
	{
		public function Main()
		{

		}
		public static const FPS:int = 30;
        public function set preloaderView(value:PreloaderView): void 
        {
        	_PreloaderView = value;
     		var facade:AppFacade = new AppFacade();
     		facade.startup(this);
        }
        private var _PreloaderView:PreloaderView;
        public function get preloaderView():PreloaderView
        {
        	return _PreloaderView;
        }
	}
}